<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Iper test@onLine</title>
    <script src="../glassboxLatest/glassbox.2.0.0/javascripts/prototype.js" type="text/javascript"></script>
    <script src="../glassboxLatest/glassbox.2.0.0/javascripts/scriptaculous/effects.js" type="text/javascript"></script>
    <script src="../glassboxLatest/glassbox.2.0.0/javascripts/glassbox/glassbox.js" type="text/javascript"></script>
    <style type="text/css">
      @import url("../css/style.css");
      a{
        color : Blue;
        text-decoration: none;
        font-size: 14px;

      }
      a:hover {
        /*               display:block; */
        color: red;
      }

      #sections
      {
        font-size: 18px;
        text-align: center;
      }

      #userBox h3 {
        font-size: 17px;
        margin: 0px;
        text-align: center
      }

      #header_contentBoxBg
      {
        background: url(../images/sfondoHome.jpg );
        background-position: -100px -600px;

      }
      #header {
        padding-top: 3%;
        margin-left: -5px;


      }
      #header h1
      {
        color: yellow;

      }

      .column {
        float:left;
        margin-left: -5px;
      }

    </style>
    <script type="text/javascript">
      path_to_root_dir = "../glassboxLatest/glassbox.2.0.0/";
      window.onload = function(){
        var header = new GlassBox();
        header.init( 'header', '940px', '110px', 'hidden','',true,false);
        header.ipos();
        header.draggable();
        header.appear();
        var userBox = new GlassBox();
        userBox.init( 'userBox', '320px', '150px', 'hidden','',true,false);
        userBox.ipos();
        userBox.appear();
        var mainBox = new GlassBox();
        mainBox.init( 'mainBox', '320px', '150px', 'hidden','',true,false);
        mainBox.ipos();
        mainBox.appear();
        var mainBox1 = new GlassBox();
        mainBox1.init( 'mainBox1', '320px', '150px', 'hidden','',true,false);
        mainBox1.ipos();
        mainBox1.appear();
        var mainBox2 = new GlassBox();
        mainBox2.init( 'mainBox2', '320px', '150px', 'hidden','',true,false);
        mainBox2.ipos();
        mainBox2.appear();
        var liveTest = new GlassBox();
        liveTest.init( 'liveTest', '320px', '150px', 'hidden','',true,false);
        liveTest.ipos();
        liveTest.appear();

      }
    </script>
  </head>

  <body>
        <?php include '../portal/header.php';?>
      <div id="wrapper">
        <center>
          <div id="header" class="glassbox">
            <center>
              <h1>Iper test@onLine - User: <?= $_COOKIE['username'] ?></h1>
            </center>
          </div>
        </center>
        <div class="column">

          <div id="userBox" >
            <div id="content">
              <table width="100%">
                <tr>
                  <th><center><div id="sections"><img src='../images/icons/PNG/Administrator.png' height='30' width='30' title='Utenti' border='0'/>&nbsp;Utenti</div></center></th>
                </tr>
                <tr>
                  <td>
                      <?
                        if($_COOKIE["codiceUtente"]==1)
                        {
                      ?>
                      <a href="../utente/nuovoOperatore.php">Nuovo utente</a></td>
                    <?}else{?>
                    Nuovo utente
                    <?}?>
                </tr>
                <tr>
                  <td>
                      <?
                        if($_COOKIE["codiceUtente"]==1)
                        {
                      ?><a href="../utente/nuovaDisciplinaWeb.php">Nuova disciplina</a>
                  <?}else{?>
                    Nuova disciplina
                    <?}?>
                  </td>
                </tr>
                <tr>
                  <td>
                      <?
                        if($_COOKIE["codiceUtente"]==1)
                        {
                      ?>
                      <a href="../utente/reportUsers.php">Report utenti</a>
                  <?}else{?>
                    Report utenti
                    <?}?>
                  </td>
                </tr>

              </table>
            </div>
          </div>

        </div>
        <div class="column">
          <div id="mainBox">
            <table width="100%">
              <tr>
                <th><center><div id="sections"><img src='../images/icons/PNG/Document.png' height='30' width='30' title='Studenti' border='0'/>&nbsp;Studenti</div></center></th>
              </tr>
              <tr>
                <td><a href="../utente/nuovaClasse.php">Nuova classe</a></td>
              </tr>


              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
          </div>
        </div>
        <div class="column">
          <div id="mainBox1">
            <table width="100%">
              <tr>
                <th><center><div id="sections"><img src='../images/icons/256x256/report.png' height='30' width='30' title='Reportistica' border='0'/>&nbsp;Reportistica</div></center></th>
              </tr>
              <tr>
                <td><a href="../report/searchStudents.php">Report studenti</a></td>
              </tr>
              <tr>
                <td><a href="../report/reportQuestions.php">Report domande</a></td>
              </tr>
              <tr>
                <td><a href="../report/searchTest.php">Report test</a></td>
              </tr>
            </table>
          </div>
        </div>
        <div class="column">
          <div id="mainBox2">
            <table width="100%">
              <tr>
                <th><center><div id="sections"><img src='../images/icons/PNG/Pen 2.png' height='30' width='30' title='Test Management' border='0'/>&nbsp;Gestione Test</div></center></th>
              </tr>
              <tr>
                <td><a href="../testManaging/newArgomento.php?codiceUtente=<?= $_COOKIE['codiceUtente'] ?>">Nuovo argomento</a></td>
            </tr>
            <tr>
              <td><a href="../testManaging/newQuestion.php">Nuova domanda</a></td>
            </tr>
            <tr>
              <td><a href="../testManaging/newTest_1.php">Nuovo test</a></td>
            </tr>
          </table>
        </div>
      </div>

      <div class="column">
        <div id="liveTest">
          <table width="100%">
            <tr>
              <th><center><div id="sections"><img src='../images/icons/PNG/Calendar 2.png' height='30' width='30' title='Test Management' border='0'/>&nbsp;Test sottomessi</div></center></th>
            </tr>
            <tr>
              <td><a href="../testManaging/reportLiveTest.php">Dettagli Test sottomessi</a></td>
            </tr>
            <tr>
              <td><a href="../testManaging/reportPdfLiveTest.php">Risultati Test PDF</a></td>
            </tr>
          </table>
        </div>
      </div>
    </div>
  </body>
</html>
